﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using DTO;
using System.Data;
namespace BLL
{
    public class CHUCVUBUS
    {
        public static List<CHUCVU> GETALLCV()
        {
            CHUCVUDAO cv = new CHUCVUDAO();
            return cv.GetListCV();
        }
		public static DataTable GETALLCVs()
		{
			CHUCVUDAO cv = new CHUCVUDAO();
			return cv.GetListCVs();
		}
        public static string CreateNewID()
        {
            CHUCVUDAO cv = new CHUCVUDAO();
            return cv.CreateNewID();
        }
        public static bool INSERT(CHUCVU cvs)
        {
            CHUCVUDAO cv = new CHUCVUDAO();
            return cv.INSERT(cvs);
        }
        public static bool UPDATE(CHUCVU cvs)
        {
            CHUCVUDAO cv = new CHUCVUDAO();
            return cv.UPDATE(cvs);
        }
        public static bool DELETE(CHUCVU cvs)
        {
            CHUCVUDAO cv = new CHUCVUDAO();
            return cv.DELETE(cvs);
        }
    }
}
